load("//tools:defaults.bzl", "ng_web_test_suite", "ts_project")

package(default_visibility = ["//visibility:public"])

ts_project(
    name = "test_lib",
    testonly = True,
    srcs = glob([
        "**/*.ts",
    ]),
    deps = [
        "//packages/core",
        "//packages/core/testing",
        "//packages/upgrade/src/common",
        "//packages/upgrade/src/common/test/helpers",
        "//packages/upgrade/static",
        "//packages/upgrade/static/testing",
    ],
)

ng_web_test_suite(
    name = "test",
    data = [
        "//:angularjs_scripts",
    ],
    deps = [
        ":test_lib",
    ],
)
